import request from "@/config/utils/request";

// 新增入库冲销单
export function saveFinWriteoff(data) {
  return request({
    url: "/apis/smp/tran/writeoff/save/tranWriteoff",
    method: "POST",
    data
  });
}

// 提交入库冲销单
export function submitFinWriteoff(data) {
  return request({
    url: "/apis/smp/tran/writeoff/submit/tranWriteoff",
    method: "POST",
    data
  });
}

// 分页查询入库冲销清单引用冲销单关系
export function listPageBillRelation(data) {
  return request({
    url: "/apis/smp/finstorage/listPageBillRelation",
    method: "POST",
    data
  });
}
